package com.hongxun.design.bean;

import android.view.View;

import com.hongxun.design.listeners.bittypeitemclick;

/**
 * Created by zerdoor_pc on 2016/5/6.
 * 点位类型
 */
public class BitTypeTabItemBean {

    private String id;
    private String name;
    private String icon;
    private View.OnClickListener listener;
    private String type;

    public BitTypeTabItemBean(){}
    public BitTypeTabItemBean(String id, String name, int icon, View.OnClickListener listener, String type) {
        this.id = id;
        this.name = name;
        this.icon = icon+"";
        this.listener = listener;
        this.type = type;
        if (listener==null){
            this.listener=new bittypeitemclick(this);
        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public View.OnClickListener getListener() {
        return listener;
    }

    public void setListener(View.OnClickListener listener) {
        this.listener = listener;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
